package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName weather_radar
 */
@TableName(value ="weather_radar")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WeatherRadarDO implements Serializable {
    /**
     * 年份
     */
    @TableField(value = "year")
    private String year;

    /**
     * 日期
     */
    @TableField(value = "time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    /**
     * 图片地址
     */
    @TableField(value = "image")
    private String image;

    /**
     * 图片地址
     */
    @TableField(value = "type")
    private Integer type;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}